/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package demo06;

/**
 *
 * @author 卢
 */
public class Person01 {
    private String name;
    private String telphone;
    private String address;

    public Person01(String name, String telphone, String address) {
        this.name = name;
        this.telphone = telphone;
        this.address = address;
    }

    public String getAddress() {
        return address;
    }

    public void setAddress(String address) {
        this.address = address;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getTelphone() {
        return telphone;
    }

    public void setTelphone(String telphone) {
        this.telphone = telphone;
    }

    @Override
    public String toString() {
        return "Person01{" + "name=" + name + ", telphone=" + telphone + ", address=" + address + '}';
    }

  


    }
    
          


